package com.bigdata.booklibraryseatapi.service;

import com.bigdata.booklibraryseatapi.common.pojo.PageResult;
import com.bigdata.booklibraryseatapi.entity.BookTimeQuantum;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bigdata.booklibraryseatapi.vo.req.AddTimeQuantumReqVO;
import com.bigdata.booklibraryseatapi.vo.req.EditTimeQuantumReqVO;
import com.bigdata.booklibraryseatapi.vo.req.PageBookTimeQuantumReqVO;
import com.bigdata.booklibraryseatapi.vo.resp.PageBookTimeQuantumRespVO;
import com.bigdata.booklibraryseatapi.vo.resp.TimeQuantumListRespVO;

import java.util.List;

/**
 * <p>
 * 预约时间段 服务类
 * </p>
 *
 * @author book
 * @since 2023-12-13
 */
public interface IBookTimeQuantumService extends IService<BookTimeQuantum> {

    void addTimeQuantum(AddTimeQuantumReqVO vo);

    void editTimeQuantum(EditTimeQuantumReqVO vo);

    List<TimeQuantumListRespVO> getTimeQuantumList();

    PageResult<PageBookTimeQuantumRespVO> pageBookTimQuantum(PageBookTimeQuantumReqVO vo);

}
